import { DefaultFooter } from '@ant-design/pro-components';

const Footer: React.FC = () => {
  const defaultMessage = '程序媛 Gigi 出品';
  const currentYear = new Date().getFullYear();
  return (
    <DefaultFooter
      copyright={`${currentYear} ${defaultMessage}`}
      links={[
        {
          key: 'Blog @Gigi',
          title: 'Blog @Gigi',
          href: 'https://blog.gigi-code.asia',
          blankTarget: true,
        },
        {
          key: 'Gitee @Gigi',
          title: 'Gitee @Gigi',
          href: 'https://gitee.com/Gigifactory',
          blankTarget: true,
        },
      ]}
    />
  );
};
export default Footer;
